package com.headfirst.BehaviorMode.command.simpleremote;

import com.headfirst.BehaviorMode.command.simpleremote.equipment.GarageDoor;

public class GarageDoorOffCommand implements Command{
    
    private GarageDoor garageDoor;

    public GarageDoorOffCommand(GarageDoor garageDoor) {
        this.garageDoor = garageDoor;
    }

    @Override
    public void execute() {
        garageDoor.down();
    }
}
